#include "../mtcp_module.h"


INIT::INIT()
{
	memset(&_req, 0, sizeof(_req));
}


INIT::~INIT()
{
}


int INIT::SendINIT()
{
	int ret = SendFrame(kMTCP_CTRL_INIT, (void*)&_req, sizeof(_req), nullptr, 0);

	tMTCP_payload_TEST_RSP rep;
	int recv_cnt = RecvResponse(&rep, sizeof(rep));

	return ret;
}
